package com.sparrow.example_message.base.resp;

import com.baidu.bjf.remoting.protobuf.annotation.Package;
import com.baidu.bjf.remoting.protobuf.annotation.Protobuf;
import com.baidu.bjf.remoting.protobuf.annotation.ProtobufClass;
import com.sparrow.example_message.PacketId;
import com.sparrow.socket.anno.Packet;

@Package("com.sparrow.example_message.proto")
@ProtobufClass(description = "推送血量更新")
@Packet(msgId = PacketId.Base.RESP_HP_UPDATE)
public class RespHpUpdatePacket {
    @Protobuf(description = "desc")
    private int hp;
    @Protobuf(description = "desc")
    private int maxHp;

    public int getHp() {
        return hp;
    }

    public void setHp(int hp) {
        this.hp = hp;
    }

    public int getMaxHp() {
        return maxHp;
    }

    public void setMaxHp(int maxHp) {
        this.maxHp = maxHp;
    }
}
